package net.googlecode.harchenko.task5.calculator;

import net.googlecode.harchenko.task5.model.Manager;

import java.math.BigDecimal;

/**
 * Base inteface for calculating salary classes
 */
public interface Calculator {
    /**
     * Calculate salary for manager
     *
     * @param person the manager
     * @return calculated salary
     */
    public BigDecimal calculateSalary(Manager person);

    /**
     *  Set tax
     *
     * @param tax the tax
     */
    public void setTax(BigDecimal tax);
}
